<%--
  Created by IntelliJ IDEA.
  User: ct
  Date: 2019/12/14
  Time: 20:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<html>
<head>
    <title>主页</title>
</head>
<body>
        ${user}我登进来了
        <form action="${pageContext.request.contextPath}/customer/addCustomer">
            <input type="text" name="customer_name">
            <input type="submit" value="添加">
        </form>
        <c:forEach items="${customerList}" var="customer">
            <div>
                ${customer.customer_id}
                ${customer.customer_name}
            </div>
        </c:forEach>

</body>
</html>
